package com.stud.system.request.workflow;

import com.stud.common.enums.WorkflowDefinitionEnum;
import com.stud.system.request.WorkflowRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author Stud
 * @title XXXXX
 * @desription XXXXX
 * @data 2022-11-11 17:24
 */
@Data
public class WorkflowStartRequest extends WorkflowRequest {

    @NotNull(message = "业务ID不能为空")
    @Schema(description = "业务ID")
    private Long businessId;

    @NotNull(message = "业务编码不能为空")
    @Schema(description = "业务编码")
    private WorkflowDefinitionEnum businessCode;
}
